import request from "@/utils/request";

//查询全部部门数据
export const queryAllApi = () => request.get("dept/selectAll");

//删除部门接口
export const deleteApi = (id) => request.get("dept/delete/" + id);

//添加部门接口
export const saveApi = (data) => request.post("dept/save", data);

//修改部门接口
export const updateApi = (data) => request.post("dept/update", data);